#include "e2d/yml/trans/Serializer.h"

using Serializer = e2d::BasicSerializer;

template<>
 void Serializer::Encode<e2d::Animator>(YAML::Node& node, const e2d::Animator& inst)
{
	Encode<e2d::Object>(node, inst);
	SetVariable<e2d::AnimationController>(node, "m_AnimationCtroller", inst.m_AnimationCtroller);;

}


template<>
 bool Serializer::Decode<e2d::Animator>(const YAML::Node& node, e2d::Animator& inst)
{
	Decode<e2d::Object>(node, inst);
	GetVariable<e2d::AnimationController>(node, "m_AnimationCtroller", inst.m_AnimationCtroller);;
	return true;
}
